package com.leo.listener;

import com.leo.event.Event;
import com.leo.util.DateUtil;

/**
 * @ClassName: AuditingSynListener
 * @Description: 审核同步监听器
 * @Author: leo825
 * @Date: 2020-02-17 00:31
 * @Version: 1.0
 */
public class AuditingSynListener extends AbstractEventListener{
    public AuditingSynListener(String name, Integer sort) {
        super(name, sort);
    }

    @Override
    public void onEvent(Event event) {
        System.out.println(DateUtil.getTimeNow() + "AuditingSynListener监听到订单同步事件，event=" + event.toString());
    }
}
